package com.turing.post.antimoney.util;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

public interface AlarmRuleBusiness {
	/**
	 * 预警规则插入
	 * 
	 * @param ar
	 *            预警规则
	 * @throws PCPSApplicationException
	 *             异常信息
	 */
	public void insert(PCPSWebInput webInput, AlarmRule ar)
			throws PCPSApplicationException;

	/**
	 * 预警规则修改
	 * 
	 * @param ar
	 *            预警规则
	 * @throws PCPSApplicationException
	 *             异常信息
	 */
	public void update(PCPSWebInput webInput, AlarmRule ar)
			throws PCPSApplicationException;
}
